package com.xcdh.orm.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

@Data
public class BaseEntity {
    @TableField(value = "create_by")
    private String createBy;

    @TableField(value = "create_by_id")
    private Integer createById;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private String createTime;

    @TableField(value = "update_by")
    private String updateBy;

    @TableField(value = "update_by_id")
    private Integer updateById;

    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private String updateTime;
}
